import request from '@/utils/request';

export function listData(data) {
    return request({
        url: "/admin/drainage/setting",
        method: "get",
        params: data
    });
}

export function saveData(data,method) {
    return request({
        url: `/admin/drainage/setting/${data.id}`,
        method: method,
        data: data
    });
}
